package com.xiaomi.mapper;

import com.xiaomi.entity.Fenlei;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ShopSpuMapper
 * @Description TODO
 * @Author yp
 * @Date 2021/11/28 10:08
 * @Version 1.0
 **/
public interface FenLeiMapper {
 /**
  * @MethodName pageSearch
  * @Description TODO
 * @Param pars
  * @Return [pars]
  * @Author zcy
  * @Date 2021/12/5 0:09
  **/
    List<Fenlei> fenleiFather(Integer fenLeiFather);
    void insert(Fenlei fenlei);
    void update(Fenlei fenlei);
    void delete(@Param(value = "id") Integer id);
}
